home *** CD-ROM | disk | FTP | other *** search
/ Tux Racer / Tux Racer.iso / program files / Sunspire Studios / Tux Racer / courses / glacier / sunset_light.tcl < prev    next >
Encoding:
Text File  |  2001-09-09  |  1.3 KB  |  34 lines

  1. objset :course \
  2.     {-light0_on} {1} \
  3.     {-light0_ambient} {0.34999999404 0.34999999404 0.34999999404 1.0} \
  4.     {-light0_diffuse} {0.740000009537 0.519999980927 0.340000003576 1.0} \
  5.     {-light0_specular} {0.8 0.7 0.6 1.0} \
  6.     {-light0_position} {-1.0 0.5 -0.800000011921 0.0}
  7.  
  8. tux_fog -on -mode linear -density 0.005 -colour { 0.31 0.29 0.3 1 } -start 0 \
  9.     -end [tux_get_param forward_clip_distance]
  10.  
  11.   
  12. #
  13. # Environmental sphere map
  14. tux_load_texture envmap ../glacier/glaciersunset_left.png 0
  15.  
  16. tux_particle_colour { 1 0.83 0.62 1.0 }
  17.  
  18. tux_load_texture glacier-front ../glacier/glaciersunset_front.png 0
  19. tux_load_texture glacier-right ../glacier/glaciersunset_right.png 0
  20. tux_load_texture glacier-left ../glacier/glaciersunset_left.png 0
  21. tux_load_texture glacier-back ../glacier/glaciersunset_back.png 0
  22. tux_load_texture glacier-top ../glacier/glaciersunset_top.png 0
  23. tux_load_texture glacier-bottom ../glacier/glaciersunset_bottom.png 0
  24.  
  25. tux_bind_texture sky_front glacier-front
  26. tux_bind_texture sky_right glacier-right
  27. tux_bind_texture sky_left glacier-left
  28. tux_bind_texture sky_back glacier-back
  29. tux_bind_texture sky_top glacier-top
  30. tux_bind_texture sky_bottom glacier-bottom
  31.  
  32. objcreate {s_texture_cube} {:textures:cubemap} \
  33.     {-filename} {../glacier/glaciersunset_}
  34.